package com.qaml.mes.device.repository;

import com.qaml.mes.device.dao.CheckUpkeepRecordItemDO;

import java.util.List;

/**
 * @ClassName CheckUpkeepRecordItemRepository
 * @Description TODO
 * @Author leikai
 * @Date 2024/2/28 0028 17:15
 * @Version 1.0
 */
public interface CheckUpkeepRecordItemRepository {

    void saveBatch(List<CheckUpkeepRecordItemDO> checkUpkeepRecordsList);

    /**
     * 根据检保任务id查询
     *
     * @param id
     * @return
     */
    List<CheckUpkeepRecordItemDO> getByCheckUpkeepRecordId(String id);


    void updateStatusByRecordId(String id);

    void updateBatch(List<CheckUpkeepRecordItemDO> checkUpkeepRecordItemDOS);
}